public class Product {
     String name;
     int number;
    private String manufacturer;
    private String date;
    private String model;
    private float buyPrice;
    float sellPrice;
    private int amount;

    @Override
    public String toString() {
        return "name=" +name+ "\t\tnumber=" +number+ "\t\tmanufacturer=" +manufacturer+ "\t\tdate=" +date+ "\t\tmodel=" +model+ "\t\tbuyPrice=" +buyPrice+ "\t\tsellPrice=" +sellPrice+ "\t\tamount=" +amount;
    }

    public Product (String name, int number, String manufacturer, String date, String model, float buyPrice, float sellPrice, int amount){
        this.name = name;
        this.number = number;
        this.manufacturer = manufacturer;
        this.date = date;
        this.model = model;
        this.buyPrice = buyPrice;
        this.sellPrice = sellPrice;
        this.amount = amount;
    }




    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getDate() {
        return date;
    }

    public void setBuyPrice(float buyPrice) {
        this.buyPrice = buyPrice;
    }

    public float getSellPrice() {
        return sellPrice;
    }

    public void setSellPrice(float sellPrice) {
        this.sellPrice = sellPrice;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }


}
